/**
 * 
 */
package group.anglers.om.core.mapping.models;

import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;

import java.util.Date;

/**
 * @author an.pham
 * 
 */
@Model(mapping = "DEPARTMENT")
public class Department {
	@ColumnPK
	private long id;
	@Column
	private String name;
	@Column
	private Date createdDate;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

}
